package org.amos.upms.modules.system.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.amos.core.basic.base.BaseDTO;


@Data
public class PostDTO extends BaseDTO {

    @NotBlank(message = "岗位名称不为空")
    private String name;


    @Schema(description = "岗位描述")
    private String remark;

    @NotNull(message = "岗位排序不能为空")
    private Integer sort;

    private Integer status;
}
